﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOAD_PROJEKAT
{
    public class video
    {
        public DateTime datum;
        public int id;
        public List<byte> snimak;

        public video(List<byte> _snimka)
        {
            datum = DateTime.Now;
            id = 0;
            snimak = _snimka;
        }

        public video(int _id, DateTime _date, List<byte> _snimka)
        {
            datum = _date;
            id = _id;
            snimak = _snimka;
        }

        public override string ToString()
        {
            return id.ToString() + "Datum: " + datum.ToShortDateString() + " " + datum.ToShortTimeString();
        }
    }
}
